package structure;
/**
 * @author zhangjianzhong
 * @create 2021-11-19 22:43
 */
public class Transcation {
    public  String fromID;
    public String generateTime;
    public String transHash;

    //这个属性不在初始化时添加，存储，对于每个监听节点,他的已知转发路径和后面需计算的权重

    /**
     * 首先，差不多是个二维数组，2 x normalNodeSize，一行ip，一行时间戳
     * 其次，监听节点可能不唯一，三维了： listenerNodeSize x 2 x normalNodeSize
     */
    //public String[] route =;

    public Transcation(String generateTime,String fromID,  String transHash) {
        this.fromID = fromID;
        //this.generateTime = TimeUtils.changeStrignToDate(generateTime);
        this.generateTime=generateTime;
        this.transHash = transHash;
    }
}
